package lab02.test35;

class Worker extends Employee{
    @Override
    double computeSalary() {
        return Wsalary*day;
    }

    @Override
    double Salary() {
        System.out.println("一般工人工资为:"+this.computeSalary());
        return 0;
    }
}